package designpattern.state;

public class SoldOutState implements State{
	GumballMachine gumballMachine;
	
	public SoldOutState(GumballMachine gumballMachine) {
		this.gumballMachine = gumballMachine;
	}
	@Override
	public void dispense() {
		System.out.println("Out of gumballs..");
	}

	@Override
	public void ejectQuarter() {
		System.out.println("Out of gumballs..");
	}

	@Override
	public void insertQuarter() {
		System.out.println("Out of gumballs..");
	}

	@Override
	public void turnCrank() {
		System.out.println("Out of gumballs..");
	}

}
